home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / battutor.arc / TESTFIND.BAT < prev    next >
DOS Batch File  |  1986-05-05  |  512b  |  25 lines

  1. echo off
  2. .                       testfind.bat  %1        revised 14-aug-83
  3. findfile %1
  4. if errorlevel 5 goto notfound
  5. if errorlevel 3 goto disk3
  6. if errorlevel 2 goto disk2
  7. if errorlevel 1 goto disk1
  8. echo    found  %1  on drive A:
  9. goto exit
  10. :disk1
  11. echo    found  %1  on drive B:
  12. goto exit
  13. :disk2
  14. echo    found  %1  on drive C:
  15. goto exit
  16. :disk3
  17. echo    found  %1  on drive D:
  18. goto exit
  19. :notfound
  20. echo    file not found
  21. :exit
  22. l 11 echo 11
  23. if errorlevel 10 echo 10
  24. if errorlevel  9 echo 9
  25. if